package com.xiaozhichao.springboot.component;

import org.springframework.stereotype.Component;

@Component("demo")
public class DemoImp implements Demo {

    private String name = "a";

    @Override
    public void dothing() {
        System.out.println(this.name);
    }
}
